package cn.zjutleo.village_server.exception.apiException.authenticationException;

import cn.zjutleo.village_server.constants.ApiExceptionCodes;
import cn.zjutleo.village_server.exception.apiException.AuthenticationException;

/**
 * @author : Ma Xiaofeng
 * @date : Created in 2021/11/15
 * @description: 绑定手机号异常类
 */
public class DifferentPhoneException extends AuthenticationException {
    public DifferentPhoneException(String message) {
        super(message, ApiExceptionCodes.DIFFERENT_PHONE.getValue());
    }

    public DifferentPhoneException() {
        super(ApiExceptionCodes.DIFFERENT_PHONE.getDesc(), ApiExceptionCodes.DIFFERENT_PHONE.getValue());
    }
}
